lock recent
Type
command
Summary
Sets the lockRecent property to true, preventing cards from being added to the recent cards list.
Syntax
lock recent
Description
Use the lock recent command to move among cards without disturbing the recent cards list.
When either the user or a handler navigates to a card, that card is placed on the recent cards list, and the user can return to it with the go command or the "Go Recent" item in the View menu. If a handler visits a card that is not normally seen by the user, you can use the lock recent command to prevent the user from inadvertently going to that card later.
The lock recent command sets the lockRecent property to true. When all pending handlers are finished executing, the lockRecent property is set back to false.
Examples
lock recent
if not the hilite of button "Advanced" then lock recent
Related
property: lockRecent
command: lock messages, unlock recent
glossary: property, handler, recent cards, command, execute
object: card
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile